package com.ruoyi.system.domain;

import com.fasterxml.jackson.annotation.JsonFormat;
import org.apache.commons.lang3.builder.ToStringBuilder;
import org.apache.commons.lang3.builder.ToStringStyle;
import com.ruoyi.common.annotation.Excel;
import com.ruoyi.common.core.domain.BaseEntity;

import java.util.Date;

/**
 * 审核对象 checkList
 *
 * @author Edward
 * @date 2024-04-16
 */
public class CheckList extends BaseEntity {
    private static final long serialVersionUID = 1L;

    /**
     * 状态
     */
    @Excel(name = "状态")
    private Integer state;

    /**
     * 编号
     */
    private Long id;

    /**
     * 类型
     */
    @Excel(name = "类型")
    private Integer type;

    /**
     * $column.columnComment
     */
    private Long userId;

    /**
     * $column.columnComment
     */
    private Long projectId;

    /**
     * $column.columnComment
     */
    private Long checkerId;

    /**
     * 审核结果
     */
    @Excel(name = "审核结果")
    private Integer checkResult;

    /**
     * 审核意见
     */
    @Excel(name = "审核意见")
    private String suggestion;

    private String checkerName;

    public String getCheckerName() {
        return checkerName;
    }

    public void setCheckerName(String checkerName) {
        this.checkerName = checkerName;
    }

    public String getDescription() {
        return description;
    }

    public void setDescription(String description) {
        this.description = description;
    }

    public String getReason() {
        return reason;
    }

    public void setReason(String reason) {
        this.reason = reason;
    }

    @Excel(name = "介绍")
    private String description;

    @Excel(name = "申请原因")
    private String reason;

    /**
     * 主题
     */
    @Excel(name = "主题")
    private String name;

    /**
     * 审核时间
     */
    @JsonFormat(pattern = "yyyy-MM-dd HH:mm:ss")
    private Date checkTime;

    public Date getCheckTime() {
        return checkTime;
    }

    public void setCheckTime(Date checkTime) {
        this.checkTime = checkTime;
    }

    public void setState(Integer state) {
        this.state = state;
    }

    public Integer getState() {
        return state;
    }

    public void setId(Long id) {
        this.id = id;
    }

    public Long getId() {
        return id;
    }

    public void setType(Integer type) {
        this.type = type;
    }

    public Integer getType() {
        return type;
    }

    public void setUserId(Long userId) {
        this.userId = userId;
    }

    public Long getUserId() {
        return userId;
    }

    public void setProjectId(Long projectId) {
        this.projectId = projectId;
    }

    public Long getProjectId() {
        return projectId;
    }

    public void setCheckerId(Long checkerId) {
        this.checkerId = checkerId;
    }

    public Long getCheckerId() {
        return checkerId;
    }

    public void setCheckResult(Integer checkResult) {
        this.checkResult = checkResult;
    }

    public Integer getCheckResult() {
        return checkResult;
    }

    public void setSuggestion(String suggestion) {
        this.suggestion = suggestion;
    }

    public String getSuggestion() {
        return suggestion;
    }

    public void setName(String name) {
        this.name = name;
    }

    public String getName() {
        return name;
    }

    @Override
    public String toString() {
        return "CheckList{" +
                "state=" + state +
                ", id=" + id +
                ", type=" + type +
                ", userId=" + userId +
                ", projectId=" + projectId +
                ", checkerId=" + checkerId +
                ", checkResult=" + checkResult +
                ", suggestion='" + suggestion + '\'' +
                ", checkerName='" + checkerName + '\'' +
                ", description='" + description + '\'' +
                ", reason='" + reason + '\'' +
                ", name='" + name + '\'' +
                ", checkTime=" + checkTime +
                '}';
    }
}
